package service;

import org.apache.ibatis.annotations.Param;
import entity.SysRole;

import java.util.List;

public interface SysRoleService {
    /** 查询全部角色信息 */
    public List<SysRole> findAll() ;


    public SysRole getById(@Param("id") Long id);
    public boolean insert(SysRole sysRole);
    public boolean update(SysRole sysRole);
    public boolean delete(Integer id);
    public SysRole getCode(@Param("code") String code);

}
